moved xgsn LSM utils to metadata creator