Add ability to serialize/deserialize array of objects