made arrays of links be properly returned by all calls/objects. updated apidoc. removed apidoc script and added to package.json instead