function fromArray($object_vars) {
        // copy each key to the property named the same way; if the property
        // is a serializable Maileon class, call fromArray on it
        foreach($object_vars as $key => $value) {
            if(class_exists('AbstractJSONWrapper') && is_subclass_of( $this->{$key},'AbstractJSONWrapper' )) {
                $this->{$key}->fromArray($value);
            } else {
                $this->{$key} = $value;
            }
        }
    }