basic skeleton for JSON output
some initialisation for JSONOutput class