How are you producing this output?
The GetUsersResponse is a Java object, not a blob of JSON, so it looks like whatever you are doing with that object is the cause of your issue.
My guess is that you are trying to treat the User object as a java bean (hence the isRunAs and isFragment methods get rendered as JSON) but it isn't a Bean, and you can't use it that way.
If you need it as JSON, then you want to use the toXContent method, or call Strings.toString(user) which will call toXContent and produce JSON output.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.