adding pin to json