Fixed undefined index notice

Fixed undefined notice in JSON API Settings. 

Thanks for keeping this plugin updated!