Made it so the model array's key values will be included in the output.
Merge pull request #149 from thuey/master

Made it so the model array's key values will be included in the output.