Refactor: bus message with json, improved error trace