Improvements to JSON Serialization

Add toString with standard numeric formatting to Quantity.