Added pretty print mode and much more metadata