Modified the output into a json payload.
Merge pull request #9 from Agerjag/jam2

Modified the output into a json payload. MERGING LIKE A BOSS