Added a fetch command with json return