If you find a component using querybuilder, it gives you a ValueMap of the properties. The components in question already have a full model defined. Is there any way to get the model back, instead of the value map?
Hand writing method to copy each field into the value map would be onerous and fail as soon as the components model changed.