[Non-BE] Implements contribution 45 - MASA metadata HR encoding See merge request !546
mentioned in commit 41bd7d26