DDF-82: Refactor REST endpoint resource retrieval