removed json from the pins_controller