[server] Remove the definition of ADD_NEW_ITEM macro.

A pre processor macro just replace strings in code.
The compipler doesn't checks types or syntax.
So we replaced it with the normal functions.