test code now has client example using google charts. Interface cleaned up with toggle hide JSON data
cleaned up the output of test code
minor refactoring of where stuff is decoded for URL decoding and JSON encoding