code: func (r Resource) GetMap() Entry {
  	mapped := make(Entry)
  
  	var mp Entry
  	// Check if payload implements Mapper interface
  	if mapper, ok := r.Payload.(Mapper); ok {
  		mp = mapper.GetMap()
  	} else {
  		mp = r.getPayloadMap()
  	}
  
  	for k, v := range mp {
  		mapped[k] = v
  	}
  
  	mapped["_links"] = r.Links
  
  	if len(r.Embedded) > 0 {
  		mapped["_embedded"] = r.Embedded
  	}
  
  	return mapped
  }
docs: // Map implements the interface Mapper.