added support for collection MDs and collection attributes