Text this: Electron shelving of a superconducting artificial atom