Parse macros to objects instead of passing it as string all the way to the server.