code to translate Rob's XML to Intermine's XML