added explicit JSON headers and switched to use weekly time scale