links are not serialized if null, href support

href support not finished, optional param must be required and the id
for collection of items must be evaluated