fix the RestStore.PrintResponse(string) method and use it only in DEBUG