ROS2 bag record format

Hello, I am trying to save data from a ros2 bag file and I would like to plot the info of the topics. However, when I try to read it from the database, the info is serialized (cdr format) and it is impossible to read it.
I would like to ask if there is any way of deserialize the information of the messages without having to install ROS melodic.

Thanks in advance for your help.