bean to xml partially implemented