Fix sample to match Gson requirements

AFAIK, Gson requires serialized classes to have a no-args constructor. Added one to `ImageUploadTask`, to remind anyone checking the samples.