Give a little more flexibility to the General::array_to_xml method by allowing it to handle object children