Add JSON encoders for Prismatic schemas