Add 'weekly' support to the json api