Update apnsservice to parse template in APN compatible way

Can we move this to the test teardown ?