hacked support for loading entities in put/post/delete handlers (refactoring needed urgently)