Just define an Object that contains the attributes and use that as the value mapped to the key.