add specs to check calls accept string instead of object, add json as required gem