add test case for get_json
style cleanup in web.lua test