Update JsonSerializationVisitor.php

Not force output {} insted of [] when empty array