-Made return of new json upload function sane.
-Removed unnessisary nesting.
Merge pull request #1163 from mmcguinn/mm1160

Tweaking return of new json path.