Update ArrayResolver.php

Add array coerce option