IDLs and schema/contract definitions in common places should help with this. Stuff like protobufs are good at generating code to use/translate to object models as well.
The primary motivation for choosing the language should not be sharing object models, atleast IMO.