Change implementation of BodyJson to not use to_h in inherited class as it is not defined in ruby version 1.9.3