adds idea dir to gitignore
replaces array response with simple response object