public static function objectize($name, $elems)
    {
        $objectized = array();
        foreach ($elems as $elem) {
            $elem['object'] = $name;
            array_push($objectized, $elem);
        }
        return $objectized;
    }