If format parameter is not present (or empty), assume default format.