added fault check for empty json feed