Added function for manipulating regex within json file - data processing helper