updated bixi service to support json data
added exception checking