in code/app/storage.go [176:183]
func (i Image) JSON() (string, error) { bytes, err := json.Marshal(i) if err != nil { return "", fmt.Errorf("could not marshal json for response: %s", err) } return string(bytes), nil }