Polymer component for localization from json files