adding limit to JSON calls that are too large