shouldn't the CLI dumper be used only in a CLI context ?