Add line-break before `consumes="application/json"`. Otherwise it breaks layout in PDF.