Removed JSON_PRETTY_PRINT for php 5.3 compatibility.