Minimal JSON parsing library