Start moving to JSON based config.

URL encoded config is getting really messy - the config now may contain URLs,
which need to be double-escaped in crontab. Very annoying.

Using a JSON file also opens up space for a web based config form.