code: func WriteJSON(schema *Schema, out *bufio.Writer) error {
  	j, err := json.MarshalIndent(schema, "", "    ")
  	if err != nil {
  		return err
  	}
  	fmt.Fprintf(out, "%s", j)
  	out.Flush()
  	return nil
  }
docs: // WriteJSON - v2 schema export to JSON