reduce call of cjson.encode
Merge pull request #2 from cubicdaiya/issues/reduce_encode

reduce call of cjson.encode