General idea -
Depending on the binding, you may be able to implement something like that in a transformation script or a transform profile.