Ran a TRUE test

Ran a true test of the file_get_contents handler & removed JSON
functions requirement for XML parsing.
Also, fixed XML parsing in general.