adding JSON handling for featured image