js object support

add support to turn json direct to js object