fixed json message deserialization