Updated methods attach and dettach volumes to parse qmp response