stop holding -p option in case of an json output