Generic XML Parser that returns a parsed JSON-like object structure