Use JSON for admin page list.

The XML parsing was really ugly and JSON is much cleaner.