Class for converting XML Schema into a PHP Array