contacts - adding option to return contacts as JSON
contacts - some renaming changes and adding jsdoc comments
contacts - renaming .js file