Utilities for the GSD image metadata format