Documentation/header cleanup.
Fixed a new warning about a reference cycle in a block
Make TDJSON class public.