modify to write to json

Jakub Degro requested to merge new into main

Merge request reports