if one value of key/value pairs is array then treat each array value in part