Removed printf debugging in Json
Tidied up WebRequest and improved HTML form builder