Added generic JSON checks and metrics