added servlet to write full json profiles to file