Added NYT JSON getter
Make JSON getter generic
Added .swp to .gitignore