allow passing format option for dates in string_handler