title: Comparing two maps
body: <p>I have two maps declared as <code>Map&lt;String, Object&gt;</code>. The <code>Object</code> here could be another <code>Map&lt;String, Object&gt;</code> (and so on). I want to check if two maps are exactly the same without knowing their depth. Instead of using recursion can I compare the output of the <code>toString()</code> called on each map? Or is there a simpler way to compare the maps?</p>