Adds Pattern Matching Logic for serialization and desearialization
Merge pull request #4 from jgretz/PatternMatch

Adds Pattern Matching Logic for serialization and desearialization