Support serializing asJavaIterable.

Ok then, lets do that so. Split out the wrappers from the core collections.