func GetQueryShape(q string, ses query.HTTP) ([]byte, error) { s, err := ses.ShapeOf(q) if err != nil { return nil, err } return json.Marshal(s) }