broken - working on implementing command json