Added jsonRepresentation in some classes and removed unnecessary header methods.