small fix to JsonParser