finally fixed the Content-Type issue with TimeMap generation