better JSON output for fulfillments

groups by criteria for easy binding