BACKLOG-974 Corrected formatting
BACKLOG-974 Fixed mapping of metadata keys which could not be called from class scope in lamba function