This short-circuit is hard to read.
`@format_to_json ? record : record[@field_ref]` is more readable.