Renamed object_to_json util method