feat(util/serializer): add write_char and read_char

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(util/name): serialization for hierarchical names

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>