adding export to JSON page