contrib/jwrapper: rename the `types` module to `model`