fix(media): fix media part to work with new backend

Fix media listing and items preview