client/backend: fix incomplete output_format checks