Add resource name to attributes Hash, for API to find correct route