api mongodb can generate ids based on timestamp