code: func NewJSONMaster(gobot *Master) *JSONMaster {
  	jsonGobot := &JSONMaster{
  		Robots:   []*JSONRobot{},
  		Commands: []string{},
  	}
  
  	for command := range gobot.Commands() {
  		jsonGobot.Commands = append(jsonGobot.Commands, command)
  	}
  
  	gobot.robots.Each(func(r *Robot) {
  		jsonGobot.Robots = append(jsonGobot.Robots, NewJSONRobot(r))
  	})
  	return jsonGobot
  }
docs: // NewJSONMaster returns a JSONMaster given a Gobot Master.