Do not add new line on empty array/object
Closes #76
Merge branch 'fix_json_formatter' of https://github.com/linasmo/ElasticsearchBundle into linasmo-fix_json_formatter
Merge branch 'linasmo-fix_json_formatter'