Recursively convert an array to XML in PHP