Majorana representation for dissipative spin systems