debug, validate and document formats