rsapi/http.go
func (f *FileUpload) MarshalJSON() ([]byte, error) {
	b, err := ioutil.ReadAll(f.Reader)
	if err != nil {
		return nil, err
	}
	return json.Marshal(string(b))
}
func (f *FileUpload) MarshalJSON() ([]byte, error) {
	b, err := ioutil.ReadAll(f.Reader)
	if err != nil {
		return nil, err
	}
	return json.Marshal(string(b))
}
// MarshalJSON just inserts the contents of the file from disk inline into the json