I've added MarshalJSON function to StandardRegistry

To make it easier to send metrics data over HTTP.