change to use json style for command