#364: load_logic.php, 'print json_encode()'

Resolves #364.