Subscribe_bars with new Python SDK

I am using newest Python SDK to retreive live stock minute bars. Everything work fine, but I cannot figure out how to use received data. Data is retrived through below function:

async def bars_data_handler(data):

How do I convert returned “data” to a dictionary or pandas dataframe? When I print it, it is just pure text and is not structured in any way I know how to use. Help greatly appreciated!

Best regards,
Nash