Upload request seems to fail when there are mixed types of attributes in a json doc.