refactored seriesService to use apikeyservice.getHttpHeaders