MongoDB is a "schemaless" database, so your stored documents can be different. In your generic object you can simply save any subdocument you want (food or drink). Anyway, for convenience, you should have a structure in your database, so you can add some extra fields. In your case:
{
title:"title",
description:"description",
generic:
{
type:"food",
field1:"field1",
field2:"field2",
field4:"field3",
}
}
{
title:"title2",
description:"description2",
generic:
{
type:"drink",
otherField1:"field1",
otherField2:"field2",
}
}
MongoDB has a limit of 16MB per document, so if you are pretty sure that you will not use that amount of space, you can embed all information on one document.