Pretty-format json data when in expanded view