Fix rendering of pyobjects states in saltcheck