Changing format of enrichment to json