Only use arrays
Make AjaxPage extends XMLPage
do not redeclare abstract methods
Introduce TextPage, to be more flexible and have some code reuse
Make JSONPage and XMLPage extends TextPage