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.
Interesting, I would not have guessed you could do this. There are plenty of articles on the querying, but none on what the various fields of the resultant object mean, and how they can be used (other than trial and error)