Use data.json in PHP; make sure that latest >= earliest month, year