WEB-5122 - fixes a typo in the XML builder for pages API