Created printing of nested media htlp from nested array