Allow registration of conversions for both XML -> objects and objects -> XML