implements hybrid send and scala json builder