Small changes in korma.core, allow relations to be expressed as generic
collections, not only vectors