You need to use `set` on a Map collection instead of properties on an object.