text: Title: Items are not converted when using generics like `list[int]` and passing object, not string
  Body: We added support for converting items with generics like `list[int]` and `dict[str, int]` in RF 6.0 (#4433). There unfortunately is a bug that it only works when passing values as string literals, not as actual object. For example, using this example from our Slack:
  ```python
  def sum_values(values_dict: dict[str, int]) -> int:
      values_sum: int = 0
      for _, value in values_dict.items():
          values_sum += value
      return values_sum
  ```
  like:
  ```
  &{dict} =    Create Dictionary    spam    11    eggs    22
  ${sum} =    Sum Values    ${dict}
  ```
  fails with:
  > TypeError: unsupported operand type(s) for +=: 'int' and 'str'`.
  
  Using the example with a dictionary literal works fine:
  ```
  ${sum} =    Sum Values    {'spam': '11', 'eggs': '22'}
  ```