Full implementation of JSON-Parser, may have a few string-index bugs in it