Update for a more generic JSON recognition regex