Bugfix with JSON parser