I would prefer to have the `MockRequest` class to some json serialisation directly if possible