Control the structure of mySQL database usage json file