Converted toString methods to toJSON methods. The toString methods
weren't building the JSON correctly, so we just used the nifty
functionality of the JSON Java API and built it. Still getting weird
errors with client side response...