typetools: JSON class now customizeable

Signed-off-by: Ketoth Xupack <ketoth.xupack@gmail.com>
code style

Signed-off-by: Ketoth Xupack <ketoth.xupack@gmail.com>