Limit JSON creation to the last week, to reflect plotting