added simple json parser (streaming)