Turned JSON regex into a parameter.