Simplifying database definition: collection can be string