fix: decode incoming json message correctly