optional to log metrics
better dumps