resolve related resources when passed as HyperLinks or IDs

this will allow to process responses where related models are specified as URLs or IDs