code: @Deprecated
      public BaasResult<JsonObject> restSync(int method, String endpoint, JsonArray body, boolean authenticate) {
          return mRest.sync(RestImpl.methodFrom(method), endpoint, body, authenticate);
      }
docs: Synchronously sends a raw rest request to the server that is specified by
  the parameters passed in.
  
  @param method       the method to use
  @param endpoint     the resource
  @param body         an optional jsono bject
  @param authenticate true if the client should try to refresh authentication automatically
  @return a raw {@link com.baasbox.android.json.JsonObject} response wrapped as {@link com.baasbox.android.BaasResult}