Serializes an Object to JSON
Serialized JSON
The object to serialize
Use kt extension for Gson
gson.toJson(obj)