fixed an issue with json conveters