Updates to latest test-metrics
Add support for error generating json examples