Serialization of prefabs to json