Fix keys and store all tuple-keyed maps in MapDB
Report duplicate keys