C binding for JSON