We should only have one "catalog" in response. You need to put resourceDoc in List< ResourceDoc > and only that list in "catalog"