osx_defaults: dict type needs value unquoted

Added test for dict type and fixed removed quoting when type is dict
Added support for supplying hash or array