Fix typos in PATTERNS.md
Remove 'const' in deserialization example