Add agents to _to_dict_relationship()
Remove manual integration of agent and job refs

to_dict() handles that automatically now, although now it's missing the
href attribute.