code: func ReadJSONData(data []byte, detectFormat bool) GossConfig {
  	if TemplateFilter != nil {
  		data = TemplateFilter(data)
  		if debug {
  			fmt.Println("DEBUG: file after text/template render")
  			fmt.Println(string(data))
  		}
  	}
  	format := OutStoreFormat
  	if detectFormat == true {
  		format = getStoreFormatFromData(data)
  	}
  	gossConfig := NewGossConfig()
  	// Horrible, but will do for now
  	if err := unmarshal(data, gossConfig, format); err != nil {
  		// FIXME: really dude.. this is so ugly
  		fmt.Printf("Error: %v\n", err)
  		os.Exit(1)
  	}
  	return *gossConfig
  }
docs: // Reads json byte array returning GossConfig