Log JSonResponse for withError and withSuccess