Adding metadata to message