try reading json into js object