Allow flat syntax and use it internally for key resolution