Fix bug where name in package.json apidoc property is overridden.

- Move name, version, description getters to after parsing package.json.