improved json generator config in Maven