formatter: output format 'recjson' addition

* Fixes the output format of the results to be in json
  format. (addresses #1908)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>