private function mergeMagicFields(&$data)
    {
        if (isset($data['objectId']))
        {
            $this->objectId = $data['objectId'];
            unset($data['objectId']);
        }
        if (isset($data['createdAt']))
        {
            $this->createdAt = new \DateTime($data['createdAt']);
            unset($data['createdAt']);
        }
        if (isset($data['updatedAt']))
        {
            $this->updatedAt = new \DateTime($data['updatedAt']);
            unset($data['updatedAt']);
        }
        if (isset($data['ACL']))
        {
            $acl = AVACL::_createACLFromJSON($data['ACL']);
            $this->serverData['ACL'] = $acl;
            unset($data['ACL']);
        }

    }