provide __set_state() magic method

apparently smarty started using var_export()