Bug 1053968 - Clean up mozL10n API use in SMS

https://bugzilla.mozilla.org/show_bug.cgi?id=1053968
nit: probably instead of using ```JSON.parse``` directly here we can just use ```navigator.mozL10n.getAttributes```