Given the messages as a JS object and the names (use "." for nested property names) of the messages to reveal, returns the encoded messages to reveal and hide as separate maps with the key being the index of the message when the object is flattened.
Given the messages as a JS object and the names (use "." for nested property names) of the messages to reveal, returns the encoded messages to reveal and hide as separate maps with the key being the index of the message when the object is flattened.