Be explicit about content type (java)