like byline, but for json