Catch json deserialization errors.