def __init__(self, executor, operations):
        """Create JSON write task.

        :param executor: Executor
        :type executor: byte.executors.core.base.Executor