pub fn serialize_world<S>(
    world: &World,
    serializer: S
) -> Result<S::Ok, S::Error> where
    S: Serializer