common: admin socket fallback to json-pretty format (emperor)

backport of https://github.com/ceph/ceph/pull/1207