Streaming configurably terminated (simple) JSON parser