Create OC_JSON class, for single point of creating json responses. No real logic change, this just cleans up the code a bit.