catch JSON deserialization errors