[BUGFIX] Move option formatToPageTypeMapping