BES module to return JSON (both data and metadata)