Better checking of type sent to jsoninterceptor
Merge pull request #497 from jarlef/RestServiceFilter

Better checking of type sent to jsoninterceptor