new maxlength for json docs