afb-msg-json: remove obsolete function

No match.