Saving disc data to JSON formats in the Documents directory.