clean up pins controller by removing json capability