Adding ability to serialize array properties