Added parser of returning value for the message listener