add initial JSON serialization
Merge pull request #37 from maxcountryman/json-serialization

add initial JSON serialization