Added limit to json output to prevent php mem issues