bugfix on metadata export
the order of posts was reversed
post metadata with optionals