move product categories json file to resources
Remove usage of defaultdict from markovmodel in preparation for Sparkification