optional validation of scrooge/thrift Document

Rather than having a `Map` like where store both errors and empty lists for no errors, can we just use flatMap and only add items if there is an error?