Shade in GSON, add checks for null config