Splitted out functions for working with key value pairs from [json-encode] and [urlparams]