Added code to generate a yaml string of the parameters, and store it into the database to allow read back of paramters at a later point