MSON Utility functions

**DO NOT MERGE UNTIL THIS IS EDITED OUT**
Oops. I just realized that this is not a good example.