This section is applicable to recovery of damages and interest from any such debtor, including the state or any county, city, city and county, municipal corporation, public district, public agency, or any political subdivision of the state. (b) Every person who is entitled under any judgment to receive damages based upon a cause of action in contract where the claim was unliquidated, may also reco