I am trying to create a plugin with a JSON file to store options data. I want the json file data replaced with data submitted from a form in the plugin. I have tried to use