give responses a .json convenience method