Support JSON Type

for issue #16