3dROIstats

3dROIstat was not working with all options, outputs some weird json file and does not have common out_file and output_filetype options.