Removed horrible as_json_for_mock_service method and created new class to do the same thing.