Brianip/metrics fix

Filter out NaN values from JSON by setting ?allowNaN=false
@syamp