Prepare response