able to parse the JSON
littler chang for server.