Added pagination info to json output. Fixed env var configuration for production. renamed offset parameter to page