Unmarshal by content type