Move cmd test to using json as well, blue-button task the cmd json on demand