Return 400 when there are no valid metrics.

We were returning OK.
IMO checking for `jsonMetricsContainer` is redundant as it will never be `null` because of the way the code is structured. but fine, doesn't hurt!