Modified vyatta::system::package-resource type based on JSON.pretty_generate.