Missed layout.getContentType().

Reverted JSON.