Added JSONFileFormat class and updated serializer