Serializing OSG native scenes