Move avr serialization logic to Msg class, add gtest to exercise it.