Converts the class to a JSON-formatted String.
Arnau Mora
20210916
The class as a JSON-formatted String.