Algebraic aspects of operator products and generalizations of vertex algebras