Unfortunately it’s a bit too complicated to offer such customization for different cases on each variable. We do allow response formatting on some variables, but it probably won’t be possible to go this far, sorry. You’d need to utilize the urlfetch variable and create a custom API to handle this particular use-case. We’re exploring options for further versatility down the road, and do have some cool things that are planned that might make this a non-issue then.