Revert "Use object.create for graph.entities"

This reverts commit 78993bc080b19932e96d1065f1ce4492a3404190.