Makes Preferences awesome and adds types to JSON