parse responses with Content-Type, add image support