Allow arrays of JSON metrics to be output

This is admittedly a terrible hack, but it was the least offensive solution I could come up with to an issue that actually affects me... without completely rewriting things, breaking backward compatibility, etc.