Added JSON serialization of Parameters in the Query
Added SQL to push initial ViewerSets into DB