Changed get_user_by_name and get_values to use MessageGen.get_json_obj
Refactored get_users to call MessageGen.get_json_obj
Added class to create json obj