title: How to read any ros message using string
body: <p>I am trying to write a subscriber class which subscribe to a topic and read messages published for that topic. As I know I need to pass a callback function with message structure to read received messages. But this approach is not generic. Is there any way so that I can read any ros message in form of string and send it to client classes which can parse them accordingly  </p>