Is `if encod is "json"` working?