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