[issue 97] resolve refs before checking whether to add @Valid to array properties