handle fields with images
tests for json response