Image uploading now works. Currently trying to figure out how to exclude class attributes from being JSONized.