Added more functions to the Json and XML files.