Removed 'to_json' from return