Revert "Fixing issue of photo_formats not being initialized (as a POC) as am not so sure about this"

This reverts commit e4f17dd2c1470fe22aca975ea299c9cc5a2e8fa4.