Exctract firmware version from idrac_firmware_info model

Hello,

I have the following code to get the firmware of the idrac.

---
- name: Get Installed Firmware Inventory
  dellemc.openmanage.idrac_firmware_info:
    idrac_ip: "{{ idrac_ip_host }}"
    idrac_user: "{{ idrac_user }}"
    idrac_password: "{{ idrac_password }}"
    validate_certs: False
  register: firmware_info

  tags: firmware   
- name: Display Firmware Information
  debug:
    msg: "Firmware Version: {{ firmware_info}}"
  tags: firmware 

This code showing all information about the firmware but I want to get only the firmware version example 4.10.10.0 wich is VersionString in the json output

this is an extract of my current output . The full output is longer than this and contains others values with VersionString)

      {
                  
                    "MajorVersion": "4",
                    "MinorVersion": "10",
                    "RevisionNumber": "10",
                    "RevisionString": null,
                    "Status": "Installed",
                    "SubDeviceID": null,
                    "SubVendorID": null,
                    "Updateable": "false",
                    "VendorID": null,
                    "VersionString": "4.10.10.10",
                    "impactsTPMmeasurements": "false"
                },

I will be glad to any help!
Thank you

Try this?

- name: Set a fact for the firmware_info
  ansible.builtin.set_fact:
    firmware_info_json: "{{ firmware_info | ansible.builtin.from_json }}"
  tags: firmware 

- name: Display Firmware Information
  debug:
    var: firmware_info_json.VersionString
  tags: firmware