parse bird ( like bgp ) configuration to struct or json format