post smarty-upgrate reinstate print_array modifier so that api examples are generated