LPS-47260 Avoid using inheritance to reuse an static method and create method in factory to register all metadata (fallback keys and multi valued keys) for settings at once

/cc @izaera