Fixed definition of json object types.