Add initialize once method to eager load metrics

In the production environment the initialize method is not executed with
every access to Metrics.all. Due to the loading error the fields of the
class MetadataRecord cannot be set properly. Hence, I have added another
initialize method which is only executed once.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>