[doctrine] third_party_errors are arrays so save them as object.