Hmm, that doesn't make a whole lot of sense - you're uploading a string object, and I'm sure that the json module's encoder can handle mixed string types.