Fixed error with url. Added temporary url-build/json-get function.