Fix RestAdapter#ajax to account for empty hash

`findById` does not pass a hash, which causes an exception.