Godeps/_workspace/src/gopkg.in/mgo.v2/bson/bson.go
func (d D) Map() (m M) {
	m = make(M, len(d))
	for _, item := range d {
		m[item.Name] = item.Value
	}
	return m
}
func (d D) Map() (m M) {
	m = make(M, len(d))
	for _, item := range d {
		m[item.Name] = item.Value
	}
	return m
}
// Map returns a map out of the ordered element name/value pairs in d.