API commands now return an array of results