adding image to json