Creating class Json for correction and decoding data in json.
Implementing translation method and return data.