Added support for camel case in ToJSON extensions