use method reference instead of header/footer.get()
optimize PlainFormatter
there is no need to call Optional.ofNullable(null) each time.
additionally, use of  Optional.empty() is more efficient.
Merge pull request #342 from recruit-tech/distributor-fix

use method reference instead of header/footer.get()