[SATYR PATCH 4/8] report: function for parsing json text