Change in ovirt-engine[master]: restapi: Improve addLinks() readability and performance