fixing things to get gson to work