introducing the ExposedData module that implements to_json with the exposed_getters data