RubyClient: Potential bug fix when posting a body that is an array