minor updates to the json parser.