fix output format to yaml format in do_list_bindings