Adds json parsing and request logic via ruby