added JSON handling for featured image