Fix a crash where if the JSON passed down other fields, we would crash