a single-pass json parser that uses no memory