getResource
The following method resolves any resource from a unique name string:
Example usage:
Idea:
- every even index of the path represents a relation
- every odd index of the path represents an identifier
- odd path lengths return resourceLists
- even path lengths return single resources
- using strings, we can create unique resource names