Added java.io.Serializable supported to LogicalPlan, LogicalOperator, Graph and make them can serialized to bytes.