high level api for iodef protocol buffers