Added JSON toggle and added tooltips to show years for the input fields, as part of issue #5.