Replacing dimensions type with key/value pairs in Parameter.spec["values"] also allowing list type parameters