make basic JSON Message serialization work