Servlet JSON output is now done using GSON library

Change-Id: Ibacc8357d9afd4ad7b5ce0640dffea61c7884112