Improved way of dealing with config jsonobject keys
Added url shortener functionality