An JSON-based socket oriented messgae switch