Altered how rpc_wrapper.py outputs data