Added a factory method for Message's from JSON Objects, and added the getitem functionality to Message so all old code will still work