Thank you for posting your concern.
Based on the description of the issue, apparently your concern appears to be related with the configuration of the client library. With this, so that I can provide possible documents that will configure your client library to return the enum names instead of numbers, could you specify which of the client libraries listed
here is the one that you are using? Also, I can help you find the mapping from numbers to names.