Updated regex to fix json value preformatting