Add custom formatting option to listpages

Change-Id: I229ecf26f561a7a6fd6761c5ede27dc7bb6bc68f