fixed config reader to use jersey