Make junction_coord no longer top level. Fixes #52