add SetResponse on response writing entities