Add encoder from json to datastore entity