XD-1315: Use a pojo for file module metadata