[jmdb] Adding rainbow support