A pointer to the definition of isomorphism would be useful. I'd like to be able to write it in pure scala to remove dependency on Java libs.