adds passing a json through BT