check depth>0 in json_decode, fix #20