Update genjson.php

use correct (last week) query
Merge pull request #4 from ploupas/patch-4

Update genjson.php