made require json docs optional in node-tests