png export change to more generic form
fixed rest server and endpoints