cmd: fixed the jsonWriter.
cmd: fixed the jsonWriter.

using a buffer to get the response data.

Related to #374.

cgvarela/tsuru,tuxmonteiro/tsuru,cgvarela/tsuru,tsuru/tsuru,jblancett/tsuru,RichardKnop/tsuru,hcxiong/tsuru,guilhermebr/tsuru,tsuru/tsuru,Endika/tsuru,ggarnier/tsuru,cezarsa/tsuru,cezarsa/tsuru,ggarnier/tsuru,ArxdSilva/tsuru,guilhermebr/tsuru,hcxiong/tsuru,ArxdSilva/tsuru,tsuru/tsuru,kgrvamsi/tsuru,hcxiong/tsuru,guilhermebr/tsuru,4eek/tsuru,gciotta/tsuru,RichardKnop/tsuru,guilhermebr/tsuru,kgrvamsi/tsuru,Endika/tsuru,RichardKnop/tsuru,ggarnier/tsuru,gwmoura/tsuru,jblancett/tsuru,tuxmonteiro/tsuru,cezarsa/tsuru,hugoantunes/tsuru,ArxdSilva/tsuru,firebitsbr/tsuru,firebitsbr/tsuru,mderaldo/tsuru,ArxdSilva/tsuru,cgvarela/tsuru,4eek/tsuru,mderaldo/tsuru,tuxmonteiro/tsuru,mderaldo/tsuru,jblancett/tsuru,gwmoura/tsuru,Endika/tsuru,firebitsbr/tsuru,gciotta/tsuru,cezarsa/tsuru,ggarnier/tsuru,hugoantunes/tsuru,gwmoura/tsuru,tsuru/tsuru,gciotta/tsuru,kgrvamsi/tsuru,4eek/tsuru