Use json instead of end to return jason array for feed.