[#2061] an example for using macros to reduce boilerplate code in microservice plugins; [todo] microservice.hpp needs to be moved to a generic location, currently reusing the existing tests for testing purposes