added json feature