refactor handle-resource-get as defmulti, add support for EDN