added toAPI methods for folder and feed