ACE-513 / ACE-523 - improve workspace API: - aligned the Gogo shell commands to return consistent values; - allow the cardinality of "N" to be specified by the REST API in the same way as for the gogo commands.