refactored representer framework to allow non-dataelement
representers.