Added a method to select whether the command responsed shall be
flattened