modified
add test for jsonize method