code: public static Node convertToJson(Object source, String label) {
          return convertToJson(source, label, false);
      }
docs: Converts object to JSON.
  
  @param source
  @param label  label to be logged in case of error.
  @return