Various helpers to pass data to untrusted environments and to get
it back safe and sound.
