found a way to turn class into json! python is awesome!