JsonStreamAware interface used in order to clean code plus some minor
optimizations.