[jobbrowser] Job counter error with Yarn

It turns out the proxy fetches data from the JobHistory Server,
which returns HTML even when requesting JSON. In this case,
we should return None.