Trying to fix issues with json