fix template array value output
use stdlib deep_merge function for proper config hash merging
add tests for passing in custom config values