i'm not trying to be snarky, but how is that easier than just defining the dictionary where you call it?

it seems like you're creating distance between the logic that depends on this (the knockout code) and the place where it's defined (the form) that doesn't appear to add any value and could easily be eliminated.