fixed an issue with json transformations