build up stack, start api for tags, tests passing
whitespace
reduce escape redundancy