support for access to raw model data and json serialization