Add message metadata in JSON
Add home controller