optimization: remove repeated stringify in encryption

removed repeated JSON.stringify when converting to utf-8 in signature check,
v8 might not optimize such repeated JSON.stringify, result in doubled overhead, see http://jsperf.com/stringify-repeat