Add markers to the result messages from store to handlers so that they
cannot be confused with other messages.
Factor out code to receive results in handler.