Joosy.Resources.REST refactoring