OVT-7983: Added @Transactional

When fetching metadatas lazily session was already closed in converter.
Adding this to REST-method fixed it. Considering moving annotation
somewhere else atm, but this was quick solution so GUI work can
continue.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop