I don’t think this is very future proof or maintenance friendly, because adding a property but forgetting to update the comparison algorithm is very real (as a professional mender I have a sixth sense for this kind of things)