The same parties who are entitled to enter into an agreement of submission to arbitration, and including contestants' titles to real property, may, in like manner, with or without action brought, agree upon a case containing the facts upon which the controversy depends, and submit the same to the circuit or chancery court of the county in which either of the parties resides, or in which a suit might have been brought to determine such controversy.