update apiclient to use gson