A python parser from XML to JSON