Fixed some of the tell raw utility.

Implemented several tests to the json builder.