redesign commands.json data struct