Deal with gson io exception