Add JSON parsing to CustomModel
Change dateTimeRanges to static for convention