Small changes to servlet response