Why not simply `return value.replace('%2F', '/')`?