Clarify comment for setting the initial json
Replace direct call to upstream.clear() with manager clear()

This takes advantage of the 'clear' events being called which enables
bound handlers to reset their state.