TOML parser implementation (node.js + browser)