For the development of the tunnel interface I wrote:
https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/interfaces-tunnel.py#L32
I would like to suggest that this could be the standard way to parse configuration (the code could be modified) and this class could be the object we are sharing between function (instead of the dict) down the line.