Basic implementation of getJson
changes gitignore to not to add swp-files