Implemented import/export of JSON commands file.