Format raw JSON, wrap it in a predictable success envelope, and minify the result for mock API fixtures and tests.