generalize JSONClient
Merge branch 'master' of github.com:CMPUT301F13T06/ClassProject