echo json_encode

one line change - but this is bueno. need this shit for the next phase
[php/charts]