JSON configuration file

Update.

JSON file are just dump of config object + `version` key (1.0 for now)