ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata too