Added optional $section parameter to getData
Fixed not correctly merging keys with multiple values
Added PHPUnit tests