only test type against meta keys that exist
allow default value to take callback function(file, data) returning default value