add a utility function for getting value of default from map
add vlq dep
fill out some protocol filed definitions
serialization function