c/menu: First pass of convert_variables method