Utility to localize a json object from another json object or a simple API