composeHiddenLinks to accept plain entity object as well as a collection.
for HasOne relation, targets maybe a single entity object...
fixed unCompose; wrote tests for it...