This always creates a new gson object upon every call. This is unnecessary.