Python X12 EDI parser