Add json export capability