jsmn: Fix a parser bug where object keys could be non-strings