a scala data format lib for COSM