create chapters.json if it doesnt exist from getcards.coffee and fill