pub fn string_to_message_properties(
    properties: Option<&String>
) -> HashMap<String, String>