Removing not needed check for git version when installing a package from the registry.
Fixing serializeToJson for structs/classes with to/fromJson to/fromString.