Fix of #683

Fixes problems with percent signs in keys by replacing the "escaped" ones (`%%`) with their urlencoded counterparts (`%25`).