Fix for bug with json with multiple features