Converting multiple values from one Loki log line to several time series items?

I have log lines in logfmt like this:

2021-01-01 01:01:00 Alice=123 Bob=456
2021-01-01 01:02:00 Bob=23 John=12
2021-01-01 01:03:00 John=52
2021-01-01 01:04:00 Bob=53 Tom=22 Alice=123

The list of names is unlimited and can’t be hard-coded
How can I convert them to be suitable for display as Time Series Graph?

As I understand, I need to produce something like this?

2021-01-01 01:01:00 Alice=123
2021-01-01 01:01:00 Bob=456
2021-01-01 01:02:00 Bob=23
2021-01-01 01:03:00 John=12
2021-01-01 01:03:00 John=52
2021-01-01 01:04:00 Bob=53
2021-01-01 01:04:00 Tom=22
2021-01-01 01:04:00 Alice=123

How can I do this using LogQL or maybe on render stage via Grafana Transformations?