Add method to convert java object to json string
gerge branch 'master' of https://github.com/deweytyl/csc207-project