Added jsonconfig.
Started working on json based configs.