Updates for writing Json to a String.

Fixed formating error in toString function.
Moved testing classes to correct package.

Moved testing classes to correct package.