Setup marshaller to convert json to image and service class to save image.