Adding tests for DomainObjectJsonSerializer
Adding SerializerInterface::serializeIterable() for serializing iterable objects or arrays, adding tests