added initial support for toml and json