Added a JSON serializer class for creating sample files