Fixed the json receiving