add basic handling for constructor-mapping in XML