adding options to json