add Gson.fromJsonOrNull() with try/catch