Added size and format fields to metadata