Returning JSON string instead of custom class object.