Added functionality to save the data introduced by the user in forms using JSON format