Serialize assets as text