printing json_encode