tweak return content type and configure lr data