Fixed problems with ast_cdr_serialize_variables().