Pergunta de entrevista da empresa Rapid7

Given some metadata, parse the information and provide some transformed output.