extracting long long from mongo for expiration