Support json and rows on flow api - #424