low memory footprint JSON parser