Successfully got the json format working