Fix large JSON

Fix #773