code: func FromDynamicJSON(data, target interface{}) error {
  	b, err := json.Marshal(data)
  	if err != nil {
  		log.Println(err)
  	}
  	return json.Unmarshal(b, target)
  }
docs: // FromDynamicJSON turns an object into a properly JSON typed structure