Fixes bug where gson not initialised before calling readFromFile.