add data handling to metadata requests