Add replying with json functionality