Fixed a bug with calling is_a? method on Jbuilder object

Fixes #116 #117