Using the raw data and correctly encoded the json data object