Tree.GetMap is a stopgap until we get Encode and Decode

Signed-off-by: Solomon Hykes <solomon@docker.com>