make swfdec_as_value_to_object () take a SwfdecAsValue