DeriveGeneric for JSON config datatype
turning Role into its own datatype
removing unneeded file