added q attributes to json file