changed response to be a bulk write response
took care of optionals in bulk writes and changed result