adding some checks for config.json meltmedia/whyaz#4

We could throw a helpful error here.