added support for json config based urls