better support for orm and representers