Added method JSON representation.
Added properties JSON representation.
Added category JSON representation.
Saving JSON data to file.
Saving to separate files.
Saving JSON to separate files.