Fix for Download Station client changes

You have to import time and self.response.json doesn't work.