[Spark 2060][SQL] Querying JSON Datasets with SQL and DSL in Spark SQL

JIRA: https://issues.apache.org/jira/browse/SPARK-2060
put attribute on the previous line to reduce indenting, i.e.
```scala
schema.foreach { attribute =>

}
```
(also reduced one level of curly braces)