use libjson for message payloads