I'm using an ObjectListAttributeDefinition, not MapAttributeDefinition for those attribute using this method, and I think they fit better for my goal.