Take a nested Javascript object and flatten it, or unflatten an object with delimited keys
github.com/antony/flatley
antony/flatley