Added basic functionality for a JSON parser.