Simplified code with map(str, …).
Use map built-in in parse_signed_request.