as.data.frame.fmt function

Casts a format to a data frame