finish initial (but incomplete) psm format exporter against openpa