Refactor PageOperationMixin.parse_data()