Modified vyatta::service::login-resource type based on JSON.pretty_generate.