Add resource name to hypermedia data. Fix #579