Add support for index access to value_tuple and value_struct