Added --json option to search, list and status commands.