Read XML Write JSON

Uses CURL to read a remote XML file, the SimpleXMLElement to parse XML, puts the contents into JSON format

{"head":{"title":"301 Moved Permanently"},"body":{"center":{"h1":"301 Moved Permanently"}}}