First cut at a JSON parser.