[jmdb] Extracted collection munging for maps into a platform folder