Base class documented.
Encoded all to JSON.