Parse JSON separately into image and object