emit the proper id
use random ids instead of mongo ObjectIds