Translating view and ajax

Related to #629
class that extends `GsonJSONSerialization`