BACKLOG-3965: Fix dynamic values reading/writing