added gateway meta to formatter