Adding JSON Serialization and NewtonSoft.Json serializer.