Don't send 'session' field if it is none