Fix NPE when parsing annotations that contain more complex values
This will be needed to generate doc from jersey resources automatically