Added JSON handlers for Interval