Add define for print buffer length (when printing JSON object to a strin...

...g).

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>