Added ability to send pre-serialized JSON via ArraySegment<byte>

#1546