updated method prepareMapper in case of new parameter for ContentTypeManager