Remove extra whitespace.
Add methods for encoding and decoding objects into strings.
Generate response data on successful upload.
Switch to using file backend in settings template.
Only gzip serialized objects when encoding if it helps save space.