More work on object (dict) and array (list) serialization
Refactored Messages