Code payload parser and formatter