Objectswitchmapper

added an object switch that matches from YAMLbeans to XMLbeans.