url encoding for the key