implement metadata expand on request