bug fixes

explicitly create connector
  with increased read buffer
explicitly read from inputstream object
  when reading through ObjectMapper, data was getting corrupted