$models(type, key, value) should return an array of values