simple_safety_xml function

creates a simple xml file from the input of a safety_summary object