REST WS responding with either json or xml representation of entity and multiple entities