assert missing fields, truncate large values

fixes #35