parse JSON in SAX style