Serialization to json added