Returns a serializable version of the node
array
public function jsonSerialize() { return array( "type" => $this->type, "value" => $this->value, "location" => $this->location, ); }