update json format for translated attributes to return all translations.
add new methods set_from_json and new_from_json to handle translated attributes from client.