A municipality by its governing body, or a county, by its board of chosen freeholders, may, when liable to an action under this article, agree in writing with the owner of the property destroyed or injured upon a sum to be paid to him, without action, which sum shall be paid as claims of a general nature against the municipality or county are paid.
N.J.S. § 2A:48-6