[json] Use Y.namespace to ensure the Y.JSON object is set up