save to JSON and XML are working
added xml and json