fixed json output for multipal records.
Merge branch 'master' of https://github.com/andyF845/inv