Creating the json object