issue #43: added tags only when needed, handle mediasetphoto and persona class