Moving get_json() into utils.py, for consolidation
fixing typo from refactoring out protocol helper