JSON parser and emitter for ISO C