helper function to create nested objects, best used with depject
github.com/ahdinosaur/depnest
ahdinosaur/depnest