Enabled to parse a json file and create the patterns from it