Added _type setting to json.