Exporting OBJ without transform applied

I have a scene with a bunch of geometry that’s linked. I’m trying to use a Python script to export only one copy of the geometry as an OBJ and write the the transform information down as JSON. However, I can’t seem to export an OBJ without the transform applied. Was wondering if I need to temporary clone one of the instances and untransform it before exporting?