Fix for regex pattern deserialization bug (opower-5)