Implements some of the serving methods for Stencils
Adds JSON namespace