add json as an output format