import internal/foo pub type BarJson { Bar( foo: foo.FooJson ) }