Changed macro deserializers to work with objects that are super types of List and Map. Added test for list.