Better formatting of scala case classes

Edit done directly on Github but it should work.
Merge pull request #3 from urcadox/patch-1

Better formatting of scala case classes