Use MessageBodyWriters from number and boolean responses