I'd rather design by contract (the provided value is wrong for this method but the serializer is improperly configured) but it's not a big deal.