Simple JSON protocol implemented