Added a JSON serializer and associated test.
Merge pull request #3 from wolfeidau/feature/JSONSerializer

Added a JSON serializer and associated test.