accept json and plain messages