ParseFeed: move utility functions inside class