Normal forms of maps: formal and algebraic aspects