public function serialize()
    {
        return json_encode(array(
            'data' => $this->data,
            'this' => $this->getArrayCopy(),
            'name' => $this->name,
            'merged' => $this->merged,
        ));
    }