Change detection output

Support csv and json.