allow json config files; closes #37