Method to get the format types object