1022767 use json l10n manifests

https://bugzilla.mozilla.org/show_bug.cgi?id=1022767
callback() seems to be API compatibility here? Seems that only HTMLOptimizer.prototype.process calls into this? And that needs an update to the comment in the code, too.