update normalize_arguments: try to fix UnicodeDecodeError reported by kibana with reference to tornado code