function removeSourceFormats(frame) {
    if (frame.options.formats?.includes('mobiledoc') || frame.options.formats?.includes('lexical')) {
        frame.options.formats = frame.options.formats.filter((format) => {
            return !['mobiledoc', 'lexical'].includes(format);
        });
    }
}
Selects all allowed columns for the given frame.

NOTE: This doesn't stop them from being FETCHED, just returned in the response. This causes
  the output serializer to remove them from the data object before returning.

NOTE: This is only intended for the Content API. We need these fields within Admin API responses.

@param {Object} frame - The frame object.