JRegistry::jsonSerialize

Implementation for the JsonSerializable interface.

Allows us to pass JRegistry objects to json_encode.