Bug 925961 - New function to parse mailbox string as JSON object.