code: protected JsonError handleJsonNodeRequest(final JsonNode node, final OutputStream output) throws IOException {
  		if (node.isArray()) {
  			return handleArray(ArrayNode.class.cast(node), output);
  		}
  		if (node.isObject()) {
  			return handleObject(ObjectNode.class.cast(node), output);
  		}
  		return this.writeAndFlushValueError(output, this.createResponseError(VERSION, NULL, JsonError.INVALID_REQUEST));
  	}
docs: Handles the given {@link JsonNode} and writes the responses to the given {@link OutputStream}.
  
  @param node   the {@link JsonNode}
  @param output the {@link OutputStream}
  @return the error code, or {@code 0} if none
  @throws IOException on error