added json shortcut in json api