bml: merge two files

The gstbml had only a single function, merge the util code as it is common-per-wrapper code too.