updated json, xml and http for resetting contents on new session and invocation.