Streaming pull parser for JSON in C