Add export button

Support export JSON format