removed debugging stmts
fixed bug - now browser autoparses json - due to correct encoding