public function extract($object)
    {
        $return = array();
        foreach ($object as $profile) {
            $return[strtolower($profile->getName())] = $profile->getData();
        }
        return $return;
    }