added test ensuring that using json templates still enables json posts