Profiler generate invalid separator path inside JSON using tensorboard_trace_handler

I’m trying to use torch.profiler.profile() to investigate potential bottlenecks in my pipeline. When trying to generate a JSON file either with tensorboard_trace_handler() or with profile.export_chrome_trace() the subsequent JSON file, when being read by either tensorboard or Chrome trace viewer results in an stating json.decoder.JSONDecodeError: Invalid \escape: line 1748355 column 56 (char 160536060)

I know this error means there is a \ rather than a \\ or / - is this a known issue?