Fixed undefined index notice

Fixed undefined notice in JSON API Settings. 

Thanks for keeping this plugin updated! Would be awesome if we could keep the CHANGELOG updated as well.