Add size field to the histogram json representation

Having the size field included in the json is interesting for some use cases. Not sure if it would be interesting for Timers. Thanks for your comments.