Maps remaining flow attributes to JSON and omit the ones that are not mandatory.