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