Allowing fields to appear anywhere in the output via --meta=...,fields,...

Currently, fields are only at the end. This patch allows them to appear anywhere.