fixes #7898 - ensure that format can respond to json / yaml