Working snowcrash NIF that can return JSON and YAML