@JDFesto I have not had the opportunity to play with the python library but instead of sending it as

json=open("sample.g").read()

have you tried

data=open("sample.g").read()