mongo: load entity ids, minor formatting