fix #247, auto call cjson.encode_sparse_convert()