Fixed infinite loop error that was preventing Gson from working.