Added a type to the json