fixed bug in shortcut json_repr