Finalized inventory updating
Added some convenience functions to pretty up the json responses