Update options handling, and json usage to latest sdk style
Update dependency and sdk versions, bump version