MODULES:REDCAP: Fixed bug when 0's at the end of redcap:buf but not the end of incoming data.
MODULES:REDCAP: Fixed bug when 0's at the end of redcap:buf but not the end of incoming data.

- Also fixed bug in jsonstr->list, this crashed when input was '[]'.

attila-lendvai/lambdanative,emacstheviking/lambdanative,attila-lendvai/lambdanative,attila-lendvai/lambdanative,youprofit/lambdanative,emacstheviking/lambdanative,gale320/lambdanative,VincentToups/lambdanative,gale320/lambdanative,attila-lendvai/lambdanative,VincentToups/lambdanative,youprofit/lambdanative,gale320/lambdanative,gale320/lambdanative,youprofit/lambdanative,emacstheviking/lambdanative,emacstheviking/lambdanative,emacstheviking/lambdanative,gale320/lambdanative,VincentToups/lambdanative,youprofit/lambdanative,attila-lendvai/lambdanative,VincentToups/lambdanative,youprofit/lambdanative,VincentToups/lambdanative