* Added generic JSON encoder class for Container.
* More PEP8 style formatting.
* Additional docstrings.