Merge pull request #142 from EricRahm/add_ir_data_serializer

Split out an `IrDataSerializer` class