Add very, very rough first pass / hack at supporting JSON messages