Apply formatting and ensure copyright notice in Mongo module