assume format as defaut format when data-format not present or data-format is empty