migrate from url.Values to json