send JSON instead of raw strings