Update gpml2json.js

adding support for mim-branching