made isClassJsonable global
cleaned up json serialization
added randGeneralMap to support random json
going with capCamel for strings in enums - matches D as well