fix object encoding in unsigned upload