Implemented preliminary JSON parsing, tests pending