Made the logging of an object more generic

Changed the Loading of site module configuration so that it uses the merge method