more accurate object type for headers when creating mocked requests