support storing maps in the indexdb