Adding json meta data, so it omits empty fields