Defining extensions

So I see three solutions

  • Try to not use the foreign type
  • Define the StructTypes.jl interface on the type I own, and skip the nested field serialization.
  • Open a MR in SomePackage to either make the type serializable or add an extension which defines it