fix for decoding from the request, so the cache gets the string instead of bytes