Updated documentation for JSON api return object