changed FieldWorkerResource to return both xml and json