changed YAML marshaling to JSON marshaling