URL encode keys as well.