wonder if there's something more general we could do (possibly by conditionally converting to json any time `key_value` isn't a string?)