Update PingsResource.java

Add @Produces(MediaType.TEXT_PLAIN) to method echo