Serialize the full element path.