Changed the image size and made converted the last REST request to use JSON