sometimes data comes in as an object already
Merge pull request #2 from troykelly/wip/ninja2

sometimes data comes in as an object already