Application of palladium nanoparticles for the reduction of nitrogen containing functional groups